package de.justphil.tcg.tcgserver.game.mechanics.example;

import de.justphil.tcg.tcgserver.game.mechanics.config.Config;
import de.justphil.tcg.tcgserver.game.mechanics.game.Game;
import de.justphil.tcg.tcgserver.game.mechanics.gui.Board;
import de.justphil.tcg.tcgserver.game.mechanics.monster.MonsterList;

public class Example {

	public static void main(String[] args) {

		DeckCreator deckCreator = new DeckCreator();
		MonsterList[] decks = {
				deckCreator.getRandomDeck(Config.DECK1_SEED),
				deckCreator.getRandomDeck(Config.DECK2_SEED) };

		Game game = new Game(decks);

		Board board = new Board(game);
		board.addOnUserInteractionListener(game);
		game.addOnGameProgressListener(board, true);
//		game.onStart(decks);
	}
}
